package com.wetao.lib_common.bean.response;

import com.google.gson.Gson;
import com.wetao.lib_common.base.Base2Response;

import java.io.Serializable;
import java.util.List;

/**
 * author: zhouyh
 * created on: 2021/6/17 10:44 上午
 * description:错题管理列表数据
 */

public class WrongQuestionListInfo extends Base2Response implements Serializable {


    /**
     * code : 0
     * msg : 成功
     * data : {"records":[{"id":23542,"studentId":2297,"questionId":197693,"questionContent":"{\"explain\":{\"value\":\"<p style=\\\"text-indent:2.0em;line-height:1.2208333;\\\">∵(S∩T)⊆S,∴S∪(S∩T)=S.故选B.<\/p>\"},\"question\":\"<p style=\\\"line-height:1.2208333;\\\">设S,T是两个非空集合,且它们互相不包含,则S∪(S∩T)等于(  ).<\/p>\",\"options\":[{\"value\":\"S∩T \"},{\"value\":\"S \"},{\"value\":\"⌀ \"},{\"value\":\"T\"}],\"answers\":[\"B\"]}","answerType":1,"answerContent":"C","subjectId":15,"examinationPointId":null,"masteryLevel":null,"sourceFrom":null,"createTime":"2021-02-25 11:06:45","updateTime":"2021-02-25 11:06:45","screenId":null,"screenContent":null,"screenType":null,"listeningUrl":null,"listeningContent":null,"isSingle":1,"questionContentVo":{"index":1,"question":"<p style=\"line-height:1.2208333;\">设S,T是两个非空集合,且它们互相不包含,则S∪(S∩T)等于(  ).<\/p>","explain":"<p style=\"text-indent:2.0em;line-height:1.2208333;\">∵(S∩T)⊆S,∴S∪(S∩T)=S.故选B.<\/p>","answers":["B"],"options":["S∩T ","S ","⌀ ","T"],"optionCount":4,"picUrl":null},"questionUrl":null,"questionTypeId":2001,"screenQuestionList":null,"scored":0,"fullScore":4,"wrongSource":"数学人A必1固学案---2/3","doodle":null}],"total":10,"size":10,"current":1,"pages":1}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public static WrongQuestionListInfo objectFromData(String str) {

        return new Gson().fromJson(str, WrongQuestionListInfo.class);
    }

    public static class DataBean implements Serializable {
        /**
         * records : [{"id":23542,"studentId":2297,"questionId":197693,"questionContent":"{\"explain\":{\"value\":\"<p style=\\\"text-indent:2.0em;line-height:1.2208333;\\\">∵(S∩T)⊆S,∴S∪(S∩T)=S.故选B.<\/p>\"},\"question\":\"<p style=\\\"line-height:1.2208333;\\\">设S,T是两个非空集合,且它们互相不包含,则S∪(S∩T)等于(  ).<\/p>\",\"options\":[{\"value\":\"S∩T \"},{\"value\":\"S \"},{\"value\":\"⌀ \"},{\"value\":\"T\"}],\"answers\":[\"B\"]}","answerType":1,"answerContent":"C","subjectId":15,"examinationPointId":null,"masteryLevel":null,"sourceFrom":null,"createTime":"2021-02-25 11:06:45","updateTime":"2021-02-25 11:06:45","screenId":null,"screenContent":null,"screenType":null,"listeningUrl":null,"listeningContent":null,"isSingle":1,"questionContentVo":{"index":1,"question":"<p style=\"line-height:1.2208333;\">设S,T是两个非空集合,且它们互相不包含,则S∪(S∩T)等于(  ).<\/p>","explain":"<p style=\"text-indent:2.0em;line-height:1.2208333;\">∵(S∩T)⊆S,∴S∪(S∩T)=S.故选B.<\/p>","answers":["B"],"options":["S∩T ","S ","⌀ ","T"],"optionCount":4,"picUrl":null},"questionUrl":null,"questionTypeId":2001,"screenQuestionList":null,"scored":0,"fullScore":4,"wrongSource":"数学人A必1固学案---2/3","doodle":null}]
         * total : 10
         * size : 10
         * current : 1
         * pages : 1
         */

        private Integer total;
        private Integer size;
        private Integer current;
        private Integer pages;
        private List<RecordsBean> records;

        public static DataBean objectFromData(String str) {

            return new Gson().fromJson(str, DataBean.class);
        }

        public Integer getTotal() {
            return total;
        }

        public void setTotal(Integer total) {
            this.total = total;
        }

        public Integer getSize() {
            return size;
        }

        public void setSize(Integer size) {
            this.size = size;
        }

        public Integer getCurrent() {
            return current;
        }

        public void setCurrent(Integer current) {
            this.current = current;
        }

        public Integer getPages() {
            return pages;
        }

        public void setPages(Integer pages) {
            this.pages = pages;
        }

        public List<RecordsBean> getRecords() {
            return records;
        }

        public void setRecords(List<RecordsBean> records) {
            this.records = records;
        }

        public static class RecordsBean implements Serializable {
            /**
             * id : 23542
             * studentId : 2297
             * questionId : 197693
             * questionContent : {"explain":{"value":"<p style=\"text-indent:2.0em;line-height:1.2208333;\">∵(S∩T)⊆S,∴S∪(S∩T)=S.故选B.</p>"},"question":"<p style=\"line-height:1.2208333;\">设S,T是两个非空集合,且它们互相不包含,则S∪(S∩T)等于(  ).</p>","options":[{"value":"S∩T "},{"value":"S "},{"value":"⌀ "},{"value":"T"}],"answers":["B"]}
             * answerType : 1   答题类型 1、选择型，2图片
             * answerContent : C   答题内容
             * subjectId : 15      学科，字典值
             * examinationPointId : null    知识考点
             * masteryLevel : null 掌握程度,1不懂，2半懂，3已懂
             * sourceFrom : null    来源：1拍照，2习题，3学霸收藏
             * createTime : 2021-02-25 11:06:45
             * updateTime : 2021-02-25 11:06:45
             * screenId : null  场景id
             * screenContent : null 题目场景
             * screenType : null    场景类型：0:非完形填空 1:完形填空 2：听力题
             * listeningUrl : null  听力资源url
             * listeningContent : null  听力原文
             * isSingle : 1
             * questionContentVo : {"index":1,"question":"<p style=\"line-height:1.2208333;\">设S,T是两个非空集合,且它们互相不包含,则S∪(S∩T)等于(  ).<\/p>","explain":"<p style=\"text-indent:2.0em;line-height:1.2208333;\">∵(S∩T)⊆S,∴S∪(S∩T)=S.故选B.<\/p>","answers":["B"],"options":["S∩T ","S ","⌀ ","T"],"optionCount":4,"picUrl":null}
             * questionUrl : null   错题图片url
             * questionTypeId : 2001
             * screenQuestionList : null
             * scored : 0.0
             * fullScore : 4.0
             * wrongSource : 数学人A必1固学案---2/3
             * doodle : null    老师批改涂鸦地址
             */

            private Integer id;
            private Integer studentId;
            private Integer questionId;
            private String questionContent;
            private Integer answerType;
            private String answerContent;
            private Integer subjectId;
            private Integer examinationPointId;
            private String examinationPointName;
            private Integer masteryLevel;
            private Integer sourceFrom;
            private String createTime;
            private String updateTime;
            private Integer screenId;
            private String screenContent;
            private Integer screenType;
            private String listeningUrl;
            private String listeningContent;
            private Integer isSingle;
            private QuestionContentVoBean questionContentVo;
            private String questionUrl;
            private Integer questionTypeId;
            private Object screenQuestionList;
            private Double scored;
            private Double fullScore;
            private String wrongSource;
            private String doodle;

            public static RecordsBean objectFromData(String str) {

                return new Gson().fromJson(str, RecordsBean.class);
            }

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public Integer getStudentId() {
                return studentId;
            }

            public void setStudentId(Integer studentId) {
                this.studentId = studentId;
            }

            public Integer getQuestionId() {
                return questionId;
            }

            public void setQuestionId(Integer questionId) {
                this.questionId = questionId;
            }

            public String getQuestionContent() {
                return questionContent;
            }

            public void setQuestionContent(String questionContent) {
                this.questionContent = questionContent;
            }

            public Integer getAnswerType() {
                return answerType;
            }

            public void setAnswerType(Integer answerType) {
                this.answerType = answerType;
            }

            public String getAnswerContent() {
                return answerContent;
            }

            public void setAnswerContent(String answerContent) {
                this.answerContent = answerContent;
            }

            public Integer getSubjectId() {
                return subjectId;
            }

            public void setSubjectId(Integer subjectId) {
                this.subjectId = subjectId;
            }

            public Integer getExaminationPointId() {
                return examinationPointId;
            }

            public void setExaminationPointId(Integer examinationPointId) {
                this.examinationPointId = examinationPointId;
            }

            public Integer getMasteryLevel() {
                return masteryLevel;
            }

            public void setMasteryLevel(Integer masteryLevel) {
                this.masteryLevel = masteryLevel;
            }

            public Integer getSourceFrom() {
                return sourceFrom;
            }

            public void setSourceFrom(Integer sourceFrom) {
                this.sourceFrom = sourceFrom;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public Integer getScreenId() {
                return screenId;
            }

            public void setScreenId(Integer screenId) {
                this.screenId = screenId;
            }

            public String getScreenContent() {
                return screenContent;
            }

            public void setScreenContent(String screenContent) {
                this.screenContent = screenContent;
            }

            public Integer getScreenType() {
                return screenType;
            }

            public void setScreenType(Integer screenType) {
                this.screenType = screenType;
            }

            public String getListeningUrl() {
                return listeningUrl;
            }

            public void setListeningUrl(String listeningUrl) {
                this.listeningUrl = listeningUrl;
            }

            public String getListeningContent() {
                return listeningContent;
            }

            public void setListeningContent(String listeningContent) {
                this.listeningContent = listeningContent;
            }

            public Integer getIsSingle() {
                return isSingle;
            }

            public void setIsSingle(Integer isSingle) {
                this.isSingle = isSingle;
            }

            public QuestionContentVoBean getQuestionContentVo() {
                return questionContentVo;
            }

            public void setQuestionContentVo(QuestionContentVoBean questionContentVo) {
                this.questionContentVo = questionContentVo;
            }

            public String getQuestionUrl() {
                return questionUrl;
            }

            public void setQuestionUrl(String questionUrl) {
                this.questionUrl = questionUrl;
            }

            public Integer getQuestionTypeId() {
                return questionTypeId;
            }

            public void setQuestionTypeId(Integer questionTypeId) {
                this.questionTypeId = questionTypeId;
            }

            public Object getScreenQuestionList() {
                return screenQuestionList;
            }

            public void setScreenQuestionList(Object screenQuestionList) {
                this.screenQuestionList = screenQuestionList;
            }

            public Double getScored() {
                return scored;
            }

            public void setScored(Double scored) {
                this.scored = scored;
            }

            public Double getFullScore() {
                return fullScore;
            }

            public void setFullScore(Double fullScore) {
                this.fullScore = fullScore;
            }

            public String getWrongSource() {
                return wrongSource;
            }

            public void setWrongSource(String wrongSource) {
                this.wrongSource = wrongSource;
            }

            public String getDoodle() {
                return doodle;
            }

            public void setDoodle(String doodle) {
                this.doodle = doodle;
            }

            public String getExaminationPointName() {
                return examinationPointName;
            }

            public void setExaminationPointName(String examinationPointName) {
                this.examinationPointName = examinationPointName;
            }

            public static class QuestionContentVoBean implements Serializable {
                /**
                 * index : 1
                 * question : <p style="line-height:1.2208333;">设S,T是两个非空集合,且它们互相不包含,则S∪(S∩T)等于(  ).</p>
                 * explain : <p style="text-indent:2.0em;line-height:1.2208333;">∵(S∩T)⊆S,∴S∪(S∩T)=S.故选B.</p>
                 * answers : ["B"]
                 * options : ["S∩T ","S ","⌀ ","T"]
                 * optionCount : 4
                 * picUrl : null
                 */

                private Integer index;
                private String question;
                private String explain;
                private Integer optionCount;
                private String picUrl;
                private List<String> answers;
                private List<String> options;

                public static QuestionContentVoBean objectFromData(String str) {

                    return new Gson().fromJson(str, QuestionContentVoBean.class);
                }

                public Integer getIndex() {
                    return index;
                }

                public void setIndex(Integer index) {
                    this.index = index;
                }

                public String getQuestion() {
                    return question;
                }

                public void setQuestion(String question) {
                    this.question = question;
                }

                public String getExplain() {
                    return explain;
                }

                public void setExplain(String explain) {
                    this.explain = explain;
                }

                public Integer getOptionCount() {
                    return optionCount;
                }

                public void setOptionCount(Integer optionCount) {
                    this.optionCount = optionCount;
                }

                public String getPicUrl() {
                    return picUrl;
                }

                public void setPicUrl(String picUrl) {
                    this.picUrl = picUrl;
                }

                public List<String> getAnswers() {
                    return answers;
                }

                public void setAnswers(List<String> answers) {
                    this.answers = answers;
                }

                public List<String> getOptions() {
                    return options;
                }

                public void setOptions(List<String> options) {
                    this.options = options;
                }
            }
        }
    }
}
